package com.example.demo.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.order.entity.Cart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName CartMapper
 * @Description 购物车Mapper
 * @Author MingChang.Wei
 * @Date 2025/9/26
 **/
@Mapper
public interface CartMapper extends BaseMapper<Cart> {
    
    /**
     * 批量删除购物车商品
     */
    int deleteBatchByIds(@Param("ids") List<Long> ids, @Param("username") String username);
}
